<?php
namespace app\api\middleware;

use app\middleware\Response;
class Auth
{
    /**
     * 处理请求
     *
     * @param \think\Request $request
     * @param \Closure $next
     * @return Response
     */
    public function handle($request, \Closure $next)
    {
          $header = $request->header("Authorization");
          var_dump($header);exit;

    }
}